package com.lagou.java.sqlSession;

import com.lagou.java.pojo.Configration;
import com.lagou.java.pojo.MapStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {

    public <E> List<E> query(Configration configration, MapStatement mapStatement, Object... args) throws Exception;
    public <E> List<E> insert(Configration configration, MapStatement mapStatement, Object... args) throws Exception;
    public <E> List<E> update(Configration configration, MapStatement mapStatement, Object... args) throws Exception;
    public <E> List<E> delete(Configration configration, MapStatement mapStatement, Object... args) throws Exception;

}
